<?php

class DefaultController extends Controller
{
    public $chooseName = "Dash";

	public $layout='//layouts/column3';
    
    public function actionIndex()
	{
		$this->render('index');
    }
    public function actionTranslation($language)
    {
        if($language == 'zh_cn')
        {
            Yii::app()->language = 'zh_cn';
        }
        else if($language == 'en')
        {
            Yii::app()->language = 'en';
        }
        $this->render('index');
    }
}
